Data storage management system and method

ABSTRACT

A data storage management system and method includes a physical storage, an interim storage which acts as a virtual storage to the physical storage, and a manager. The manager assigns a first interim storage portion to the first computer for a time duration in lieu of the physical storage upon receipt of an allocation request from the first computer requesting allocation of data storage space on the physical storage, and assigns a different second interim storage portion to the second computer for a time duration in lieu of the physical storage upon receipt of an allocation request, during the time duration in which the first interim storage portion is assigned to the first computer, from the second computer requesting allocation of data storage space on the physical storage so that the computers have simultaneous access to the interim storage and the physical storage is free from monopolization by the computers.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 10/255,890, filed Sep. 26, 2002, now U.S. Pat. No. ______; which is a continuation of U.S. application Ser. No. 09/121,254, filed Jul. 23, 1998, now U.S. Pat. No. 6,789,161; which is a continuation-in-part of U.S. application Ser. No. 09/110,217, filed Jul. 6, 1998, now U.S. Pat. No. 6,094,605.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to a data storage arrangement.

2. Background Art

Generally, automated cartridge systems (ACS) provide a mechanism by which multiple users in a data processing system can have common access to multiple data storage subsystems such as magnetic tape cartridge devices. In conventional tape systems, data files generated by remote user computer systems for storage on a particular tape cartridge include a predetermined expiration date in the file meta data which is used as a control mechanism by which a tape management subsystem can determine whether a particular space on a tape can be rewritten with new data. However, in conventional tape systems, expired data from a “scratched” tape volume is not actually deleted from the tape until a user actually writes new data to the tape. In other words, conventional tape systems conveniently provide a “safety net” for users who decide they still wish to be able to retrieve data from storage even though the data may be past the original expiration date.

Because conventional tape systems have proven to be quite inefficient in data storage space utilization, a virtual tape system has been developed which significantly improves storage space utilization and control by incorporating the advantages of an intermediate disk buffer as part of a tape emulation arrangement. Such an arrangement is taught in commonly owned copending U.S. patent application Ser. No. 09/110,217, filed on Jul. 6, 1998, now U.S. Pat. No. 6,094,605, and incorporated by reference herein.

More specifically, in the referenced virtual tape system, a disk buffer is connected between remote users and the tape storage devices and arranged to appear to users as though it were a physical tape device. All data volumes are initially stored in the disk buffer, and subsequently written to a physical tape device using predetermined protocols which limit the occurrence of unusable dead spaces on the tapes while also improving the ability to reclaim any fragmented space which does occur. In such a virtual tape system, a user reads and writes only to the disk buffer, but believes they are reading and writing to an actual physical tape device.

While efficiency in space management and utilization are significantly improved with the virtual tape system, users also lose the above-noted safety net feature inherently provided by conventional tape systems. More specifically, to achieve higher efficiency, the virtual tape system operates to automatically reutilize any tape and disk buffer space occupied by expired data without user action, i.e., a user does not have exclusive monopoly of a particular tape like in a conventional tape system because the tape can be reused any time a new data volume is received into the disk buffer. Emulating the safety net feature in the virtual tape system would involve prohibiting the reuse of any tape space until a user reuses a corresponding virtual tape volume name for the data volume stored in the space irrespective of whether the corresponding data has expired.

However, such an arrangement reintroduces significant inefficiency in storage space utilization and reclamation, thereby defeating a main advantage of the virtual tape system. As a result, a need exists for an improved method of controlling reutilization of data space in a virtual tape system which can provide a safety net for users while also minimizing the impact of such a feature on efficiency of data storage space utilization and management.

Generally, conventional automated cartridge systems (ACS) allow multiple users in a data processing system common access to multiple data storage subsystems. However, due to the operational nature of the data storage subsystems, conventional ACS arrangements can only provide such common access via a serial access data control.

More specifically, whenever a user is performing a task which may require need of a storage/tape device, the user sends a request to a host computer control system. Upon receipt of such a request, the operating system must grab the storage device and allocate the device to the requesting user for the duration of the entire task irrespective of the amount of use actually made by the user.

Because such user monopolization denies allocation requests from other users while a resource is already allocated, storage device allocation and use in conventional ACS arrangements is highly inefficient. This in turn significantly lowers throughput capability of systems which may otherwise be capable of high speed processing.

SUMMARY OF THE INVENTION

It is therefore an object of the present invention to provide an improved ACS and data storage device management method which does not require user monopolization of a storage device when allocating the device to a user.

It is another object of the present invention to provide an ACS and data storage device management method which provides an intermediary subsystem arranged to automatically emulate a storage device when allocated to a user, wherein the intermediary subsystem is arranged to allow multiple simultaneous user access/allocation of data storage capability.

It is still another object of the present invention to provide a virtual ACS and data storage device management method which operates as a temporary storage device while giving the appearance of a conventional “physical” storage device in an ACS to a requesting user.

It is still another object of the present invention to provide an ACS and data storage device management method which provides an intermediary subsystem arranged to automatically emulate a compatible storage device when allocated to a user, thereby allowing any type or format of physical storage to be used in conjunction with remote computer systems irrespective of compatibility.

In accordance with these and other objects, the present invention provides a virtual ACS and data storage device management method which incorporates a temporary data buffer arrangement between multiple user systems and any type of conventional physical data storage devices, wherein the temporary data buffer arrangement is arranged to emulate a physical data storage device when accessed by each of the user systems, while also allowing multiple users simultaneous access to read and write data to the temporary data buffer. The system includes a control processor arranged to periodically transfer any data in the temporary data buffer arrangement to one of the physical data storage devices.

In accordance with one aspect of the present invention, a virtual automated cartridge system is provided including a data storage manager having a first input/output connected to at least one remote user computer system, and a second input/output connected to at least one physical data storage device, and an interim data storage device connected to the data storage manager and arranged to emulate a physical data storage with respect to storing or retrieving data for the at least one remote user computer system. The data storage manager includes a processor operative to assign a portion of the interim data storage device to a user computer system upon receipt of a user request for allocation of a data storage device for a duration of time.

In accordance with another aspect of the present invention, a method for efficiently managing allocation of at least one physical data storage device in an automated cartridge system to competing remote user computer systems includes providing an interim data storage device which is arranged to emulate a physical data storage with respect to storing or retrieving data for a remote user computer system, and assigning a first portion of the interim data storage device in lieu of the at least one physical data storage device upon receiving a request from a remote user computer system for allocation of a data storage device for a duration of time.

These and other objects, features, and advantages of the present invention will be readily apparent from the following detailed description of the best mode for carrying out the invention when taken in connection with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a virtual tape system utilizing selective deletion of data corresponding to a scratched virtual volume;

FIG. 2 is a flowchart showing the overall process;

FIG. 3 is a flowchart showing verification and deletion of designated data from a scratch virtual volume;

FIG. 4 is a block diagram of data storage management system in accordance with the present invention; and

FIG. 5 is a flow chart showing the virtual ACS process in accordance with the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)

A virtual tape system 10 includes a virtual tape control system 12 having a suitable control processor (not shown) for routing all data volume files received from remote users to a disk buffer 14. Virtual tape control system 12 is arranged to transfer data from disk buffer 14 to one or more multiple volume cartridges (MVC) 16 as virtual tape volumes (VTV). A map matching the MVC location with corresponding VTV names and all corresponding file meta data is maintained by the virtual tape control system 12. An external tape management system (TMS) 18 provides overall management of the use of virtual tapes used by virtual tape system 10.

Users can selectively tag or encode any desired data volume file to indicate that the tape and/or disk buffer space occupied by the corresponding virtual volume can be automatically reused either immediately after the expiration date or a predetermined period of time after the expiration date, i.e., a data deletion “grace period.” Otherwise, if the user does not expressly designate a data volume file, virtual tape control system 12 will be prohibited from deleting and reusing the space of an expired virtual volume until a user reuses the VTV name for a new file of data.

This process is summarized in the flow charts of FIGS. 2 and 3. As denoted at block 100, all data volume files are stored in the disk buffer, and analyzed at block 102 to determine whether or not the user has designated the corresponding data for immediate deletion at the expiration date, or alternatively after a predetermined or user defined grace period. At block 104, if the data has been designated, the appropriate identifying and mapping information are marked to indicate that the corresponding data can be immediately deleted at either the expiration date or the end of the predetermined grace period. Otherwise, at block 106 the virtual volume is stored in accordance with a default policy which will not allow the virtual tape control system to reuse the tape and disk space occupied by the virtual volume after scratching until that particular virtual volume name is actually reused by the user.

The flowchart of FIG. 3 illustrates an example of automatic deletion of data from a scratch VTV. A VTV which has been selected for scratch at block 108 is analyzed at block 110 to determine whether the VTV has been designated for automatic deletion. If automatic deletion has been identified, the data is deleted from the disk buffer at block 112 (if the data is disk buffer resident), and the MVC map is updated at block 114 to reflect the deletion of the data from the VTV and the space on the physical tape occupied by the virtual volume can be reused. After updating of the MVC map, or if the data had not been identified for automatic deletion at block 110, the virtual volume is marked as scratch at block 116 and therefore reusable. However, the VTV marked for scratch will still contain the data until the VTV is actually reused if the data was not deleted at block 112 or the MVC map was not updated at block 114.

While described as requiring the user to designate whether the data can be automatically deleted to allow bypassing of the default policy of prohibiting such automatic deletion in the absence of a designation, it will be appreciated that the reverse arrangement could be implemented if desired, i.e., the default policy could allow immediate scratched data deletion if an appropriate designation was not made by the user.

As noted above, the present application is a continuation of U.S. application Ser. No. 10/255,890, filed Sep. 26, 2002, now U.S. Pat. No. ______; which is a continuation of U.S. application Ser. No. 09/121,254, filed Jul. 23, 1998, now U.S. Pat. No. 6,094,605; which is a continuation-in-part of U.S. application Ser. No. 09/110,217, filed Jul. 6, 1998, now U.S. Pat. No. 6,094,605, which is itself incorporated by reference in the present application. The relevant portions of that disclosure are reproduced verbatim below, with only the Figure numbers and reference numerals changed to avoid confusion with FIGS. 1-3 above and the reference numerals used therein.

Referring to FIG. 4, a data storage management system 20 is shown having a plurality of user subsystems denoted for illustrative purposes as multiple virtual storage (MVS) type systems 22 and non-MVS type systems 24, each of which are conventional and well understood to one of ordinary skill in the art, connected to a storage manager 26 via respective data lines 28 and control lines 30. Storage manager 26 includes a suitable processor 32 programmed to provide the necessary control process to implement the “virtual” data storage of the present invention, and provides an intermediary data storage control point for a plurality of physical data storage devices represented as disk subsystems 34, tape subsystems 36, optical subsystems 38, and other types of data storage subsystems 40.

As further shown in FIG. 4, storage manager 26 also includes an interim/temporary data buffer storage device 42 which is utilized by storage manager 26 as a virtual disk or tape device when access to a physical storage subsystem is requested by a user. A request for access to a physical storage subsystem may be a request for one of the subsystems 34-40 actually used in system 20, however this is not a requirement because the use of a virtual disk in lieu of an actual physical storage media in accordance with the present invention allows storage manager 26 to receive user requests for any type of storage subsystem whether connected to system 20 or not. Interim data buffer storage device 42 can be implemented as a high speed buffer arrangement, such as using solid state memory, DASD or any other suitable data storage arrangement capable of multiple, simultaneous user access.

Overall operation of the virtual data storage management process of the present invention will now be described in connection with the flow chart of FIG. 5. More specifically, as denoted by decision block 200, processor 32 determines that a request has been received from a user seeking allocation of a physical storage subsystem. In response, processor 32 initially assigns at block 202 a portion of interim data buffer 42 for allocation to the requesting user. Upon set up, the allocated user will believe an actual physical storage subsystem device has been reserved, and will proceed to read and write data as indicated by the particular application currently being executed as indicated at block 204. As denoted by block 206, multiple users are queued and assigned different portions of interim data buffer 42. The assigned portions of interim data buffer 42 are arranged in accordance with known design principles to react like or emulate operation of a compatible data storage device, such as one of the actual physical data storage devices in subsystems 34-40.

Because the buffer is designed to emulate a storage device compatible with the user request as viewed by the remote user, compatibility between the remote user and the actual type or format of physical data storage device is not required. Thus, the present invention advantageously allows any type of physical storage device to be used or added as an upgrade to an existing system. The interim buffer management arrangement would be modified to include an appropriate translation arrangement to allow data to be transferred between the buffer and the actual type of storage device employed.

As denoted at block 208, all data of the virtual volume in the interim data buffer 42 associated with the file of interest is transferred to one of the storage subsystems in such situations as the end of a user's current allocation, a filling up of memory capability in buffer 42, or periodically as part of an overall housekeeping process.

In addition, after interim data has been transferred to one of the actual physical storage subsystems, such data can be later retrieved back into the interim buffer as a virtual volume when desired by the user. After retrieval, the storage manager 26 again causes the buffer to emulate the requested type of physical storage subsystem to make the retrieved data available to the user.

With such an arrangement, the present invention advantageously provides the illusion of a compatible tape or cartridge device, while further providing significantly improved data management flexibility and efficiency in data storage device use.

While the best mode for carrying out the invention has been described in detail, those familiar with the art to which this invention relates will recognize various alternative designs and embodiments for practicing the invention as defined by the following claims. 

1. A data storage management system comprising: a physical storage device; an interim storage device which acts as a virtual storage device of the physical storage device; and a storage manager in communication with the interim storage device, a plurality of computers, and the physical storage device; wherein the storage manager assigns a first interim storage device portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device, and respectively assigns a different interim storage device portion to the other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage device portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the computers have simultaneous access to the interim storage device and the physical storage device is free from monopolization by the computers.
 2. The system of claim 1 wherein: the interim storage device stores data from the computers before the data is stored on the physical storage device.
 3. The system of claim 2 wherein: the storage manager transfers data stored in the interim storage device to the physical storage device.
 4. The system of claim 1 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 5. The system of claim 1 wherein: the interim storage device portions emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 6. The system of claim 1 wherein: the interim storage device includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage device.
 7. A data storage management method comprising: providing a storage manager in communication with a physical storage device, a plurality of computers, and an interim storage space which functions as a virtual storage space of the physical storage device, the storage manager operative to assign a first interim storage space portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device, and operative to respectively assign a different interim storage space portion to the other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage space portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the computers have simultaneous access to the interim storage space and the physical storage device is free from monopolization by the computers.
 8. The method of claim 7 wherein: the storage manager is operative to store data from the computers in the interim storage space before the data is stored on the physical storage device.
 9. The method of claim 8 wherein: the storage manager is further operative to transfer data stored in the interim storage space to the physical storage device.
 10. The method of claim 7 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 11. The method of claim 7 wherein; the interim storage space portions are arranged to emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 12. The method of claim 7 wherein: the interim storage space includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage space.
 13. A data storage management method comprising: providing an interim storage device which acts as a virtual storage device of a physical storage device; and providing a storage manager in communication with the interim storage device, a plurality of computers, and the physical storage device, the storage manager operative to assign a first interim storage device portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device, and to respectively assign a different interim storage device portion to the other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage device portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the computers have simultaneous access to the interim storage device and the physical storage device is free from monopolization by the computers.
 14. The method of claim 13 wherein: the interim storage device is operative to store data from the computers before the data is stored on the physical storage device.
 15. The method of claim 14 wherein: the storage manager is operative to transfer data stored in the interim storage device to the physical storage device.
 16. The method of claim 13 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 17. The method of claim 13 wherein: the interim storage device portions are arranged to emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 18. The method of claim 13 wherein; the interim storage device includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage device.
 19. A data storage management method comprising: providing a storage subsystem in communication with a physical storage device and a plurality of computers, the storage subsystem including an interim storage space which functions as a virtual storage space of the physical storage device, the storage subsystem being operative to assign a first interim storage space portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device, and to respectively assign a different interim storage space portion to the other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage space portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the computers have simultaneous access to the interim storage space and the physical storage device is free from monopolization by the computers.
 20. The method of claim 19 wherein: the storage subsystem is operative to store data from the computers in the interim storage space before the data is stored on the physical storage device.
 21. The method of claim 20 wherein: the storage subsystem is further operative to transfer data stored in the interim storage space to the physical storage device.
 22. The method of claim 19 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 23. The method of claim 19 wherein; the interim storage space portions are arranged to emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 24. The method of claim 19 wherein: the interim storage space includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage space.
 25. A data storage management method comprising: providing an interim storage device which acts as a virtual storage device of a physical storage device; assigning a first interim storage device portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device; and respectively assigning a different interim storage device portion to other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage device portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the computers have simultaneous access to the interim storage device and the physical storage device is free from monopolization by the computers.
 26. The method of claim 25 further comprising: storing the data from the computers in the interim storage device stores data before storing the data on the physical storage device.
 27. The method of claim 26 further comprising: transferring data stored in the interim storage device to the physical storage device.
 28. The method of claim 25 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 29. The method of claim 25 wherein: the interim storage device portions emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 30. The method of claim 25 wherein: the interim storage device includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage device.
 31. A data storage management system comprising: an interim storage device which virtually acts as a physical storage device to a plurality of computers; a storage manager in communication with the interim storage device and the computers; wherein the storage manager assigns a first interim storage device portion to one computer for a time duration in lieu of the physical storage device upon receipt of an allocation request from the one computer requesting allocation of data storage space on the physical storage device, and respectively assigns a different interim storage device portion to the other computers for a time duration in lieu of the physical storage device upon receipt of an allocation request, during the time duration in which the first interim storage device portion is assigned to the one computer, from the other computers requesting allocation of data storage space on the physical storage device such that the interim storage device virtually provides the computers with simultaneous access to the physical storage device.
 32. The system of claim 31 wherein: the interim storage device stores data from the computers for subsequent storage the physical storage device.
 33. The system of claim 32 wherein: the storage manager transfers data stored in the interim storage device to the physical storage device.
 34. The system of claim 31 wherein: the computers request allocation of the same data storage space on the physical storage device when requesting allocation of data storage space on the physical storage device.
 35. The system of claim 31 wherein: the interim storage device portions emulate the physical storage device with respect to storing and retrieving data for the computers while being assigned to the computers in lieu of the physical storage device.
 36. The system of claim 31 wherein: the interim storage device includes a data storage arrangement which provides multiple computers with simultaneous access to the interim storage device.
 37. The system of claim 31 wherein: the interim storage device virtually acts as the physical storage device to the plurality of computers using mapping.
 38. A method for selectively controlling reutilization of data space in a virtual tape system having a buffer and at least one multiple volume tape cartridge, the method comprising: a user transferring data volume files to the virtual tape system for the virtual tape system to store; the buffer receiving the data volume files transferred by the remote user and then transferring the data making up the data volume files as virtual tape volumes to different locations of the at least one multiple volume tape cartridge for the at least one multiple volume tape cartridge to store; the user selectively designating a particular data volume file for the virtual tape system to automatically delete from storage after a predetermined expiration date included as part of the data volume file has elapsed by automatically deleting the virtual tape volumes corresponding to the particular data volume file designated for automatic deletion from the at least one multiple volume tape cartridge, in order to allow the virtual tape system to automatically reuse the storage space of the at least one multiple volume tape cartridge corresponding to the deleted virtual tape volumes of the particular data volume file designated for automatic deletion without any further action by the user; detecting if a data volume file received by the buffer and transferred by the buffer as virtual tape volumes to the at least one multiple tape volume for storage has been designated by the user for automatic deletion; and prohibiting the virtual tape system from automatically deleting the received data volume file from storage after a predetermined expiration date included as part of the received data volume file has elapsed if the received data volume file was not designated by the user for automatic deletion; and allowing the virtual tape system to delete the received data volume file from storage after the predetermined expiration time associated with the received data volume file has expired if the received data volume file was not designated by the user for automatic deletion.
 39. The method of claim 38 wherein: the user selectively tags a particular data volume file before originally transferring to the virtual tape system to indicate that the data volume file is to be automatically deleted.
 40. The method of claim 38 wherein: if a user has designated a particular data volume file for automatic deletion, determining that the expiration date has passed, and marking the space on a data storage media occupied by the data corresponding to the data volume file to indicate the space can be automatically reused when desired.
 41. The method of claim 38 wherein: if automatic deletion has been designated, deleting a particular data volume space only after predetermined period of time has passed after the data volume file expiration date.
 42. The method of claim 38 further comprising: determining that the predetermined period of time has passed, and marking the space on a data storage media occupied by the data corresponding to the data volume file to indicate the space can be automatically reused when desired. 